<?php 


class Son implements Weixin,Alipay{

	public $sex;
	public $data;

	public function connectDb(){

	}


	public function close(){

	}


	public function exe($sql){
		echo __FILE__;

	}


	public function query($sql){
		echo 'query';

	}

	public function money(){
		echo 'query';

	}

	public function __isset($data){
		echo $data;
	}

	public function __unset($data){
		echo "你要删除$data";
	}

	public function __get($data){
		return $this->data[$data];
	}


	public function __set($name,$value){
		$this->data[$name]=$value;
	}

	public function __call($functionName, $arr)
	{
		var_dump($functionName, $arr);
	}


}






 ?>